SG Window
Count Property

©1998 by Stinga

See Also     Properties     Events     Constants     Error Codes     How To...     FAQ
Description

Returns the number of items in a collection. Read-only.

Syntax

object.Count

The object is always the name of Windows collection.

Remarks

The following code illustrates use of the Count property:

Dim w
Set w = CreateObject("SGWindow.Window")
w.AttachDesktop
MsgBox "Child count is " & CStr(w.Children.Count)